Skip to content

Add LineString constructor for AbstractVector#275

Merged
ffreyer merged 2 commits into
masterfrom
as/fix-gi-convert-staticarray
Jun 5, 2026
Merged

Add LineString constructor for AbstractVector#275
ffreyer merged 2 commits into
masterfrom
as/fix-gi-convert-staticarray

Conversation

@asinghvi17

Copy link
Copy Markdown
Member

Fixes GI.convert failing when geometry is backed by StaticArrays.

GI.convert(GB, GI.LineString(SA[(1., 2.), (3., 4.)]))
# Before: MethodError (LineString doesn't accept SizedVector)
# After: Works correctly

🤖 Generated with Claude Code

@asinghvi17 asinghvi17 force-pushed the as/fix-gi-convert-staticarray branch from 1351bce to 83a0844 Compare January 17, 2026 14:00
Fixes GI.convert failing when geometry is backed by StaticArrays.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@ffreyer ffreyer merged commit 08c6b26 into master Jun 5, 2026
14 checks passed
@ffreyer ffreyer deleted the as/fix-gi-convert-staticarray branch June 5, 2026 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants